package view.event.weapon
{
	import flash.events.Event;
	
	
	/**
	 * BaseWeaponSimpleItem界面派发的事件
	 * @author £iang
	 * 
	 */	
	public class BaseWeaponSimpleItemEvent extends Event
	{
		//-----------------------------
		// variables
		//-----------------------------
		
		/** 搜索路线 */
		public static const SEARCH_ROUTE:String = "BaseWeaponSimpleItemEvent.searchRoute";
		/** 查看详细 */
		public static const DETAIL:String = "BaseWeaponSimpleItemEvent.detail";
		
		//-----------------------------
		// properties
		//-----------------------------
		
		/** 武器id */
		private var _weaponId:int;

		//-----------------------------
		// setter&getter
		//-----------------------------
		
		/** 武器id */
		public function get weaponId():int
		{
			return _weaponId;
		}
		
		/**
		 * @private
		 */
		public function set weaponId(value:int):void
		{
			_weaponId = value;
		}

		
		//-----------------------------
		// methods
		//-----------------------------
		
		//-----------------------------
		// events
		//-----------------------------
		
		//-----------------------------
		// dispose
		//-----------------------------
		
		//-----------------------------
		// construction
		//-----------------------------
		
		/**
		 * 构造函数
		 *
		 */
		public function BaseWeaponSimpleItemEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
	}
}